package views;

import web.Formatter;

/**
 *
 * @author Alejandro
 */
public abstract class ViewElement {
    protected String header;
    protected String value;

    protected ViewElement(String header, String value) {
        this.header = header;
        this.value = value;
    }

    public abstract void accept(Formatter f);
    public String getHeader() {
        return header;
    }

    public String getValue() {
        return value;
    }
}
